package com.atguigu.common.constant;

/**
 * 商品模块常量
 * @author ls
 * @date 2021/7/24
 **/
public class ProductConstant {
    public enum AttrEnum {
        //
        ATTR_TYPE_SALE(0, "销售属性"),
        ATTR_TYPE_BASE(1, "基本属性");

        private int code;
        private String name;

        AttrEnum(int code, String name) {
            this.code = code;
            this.name = name;
        }

        public int getCode() {
            return code;
        }

        public String getName() {
            return name;
        }
    }
}
